package com.sale.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sale.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description 结账反结账实体类
 * @Author hl
 **/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("sys_settle")
public class SysSettle extends BaseEntity {

    /** id */
    @TableId(value = "settle_id")
    private long settleId;

    /**
     * 结账日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date settleTime;

}
